BannedProps = { }

function AddBannedProp(mdl)
	table.insert(BannedProps, mdl)
end

AddBannedProp("models/Cranes/crane_frame.mdl")
AddBannedProp("models/props_c17/oildrum001_explosive.mdl")
AddBannedProp("models/props_canal/canal_bridge02.mdl")
AddBannedProp("models/props_canal/canal_bridge01.mdl")
AddBannedProp("models/props_canal/canal_bridge03a.mdl")
AddBannedProp("models/props_canal/canal_bridge03b.mdl")
AddBannedProp("models/props_canal/canal_bridge03c.mdl")
AddBannedProp("models/props_canal/canal_bridge01b.mdl")
AddBannedProp("cs_fix.mdl")
AddBannedProp("models/props_combine/combine_citadel001.mdl")
AddBannedProp("models/props_combine/combine_fence01a.mdl")
AddBannedProp("models/props_combine/combine_fence01b.mdl")
AddBannedProp("models/props/de_train/BiohazardTank.mdl")
AddBannedProp("models/props/de_prodigy/prodtracks.mdl")
AddBannedProp("models/props/de_prodigy/fan.mdl")
AddBannedProp("models/props_c17/gate_door01a.mdl")
AddBannedProp("models/props_wasteland/medbridge_base01.mdl")
AddBannedProp("models/props_c17/FurnitureChair001a.mdl")
AddBannedProp("models/props_furniture/chair1.mdl")
AddBannedProp([[models/\props_phx/playfield.mdl]])
AddBannedProp([[models/\props_phx/ww2bomb.mdl]])
AddBannedProp([[models/\props_phx/torpedo.mdl]])
AddBannedProp([[models/\props_phx/mk-82.mdl]])
AddBannedProp([[models/\props_phx/oildrum001_explosive.mdl]])
AddBannedProp([[models/\props_phx/cannonball.mdl]])
AddBannedProp([[models/\props_phx/ball.mdl]])
AddBannedProp([[models/\props_phx/amraam.mdl]])
AddBannedProp([[models/\props_junk/propane_tank001a.mdl]])
AddBannedProp([[models/\props_junk/gascan001a.mdl]])
AddBannedProp([[models/\props_phx/misc/flakshell_big.mdl]])
AddBannedProp([[models/\props_phx/huge/tower.mdl]])
AddBannedProp([[models/props_phx/playfield.mdl]])
AddBannedProp([[models/props_phx/ww2bomb.mdl]])
AddBannedProp([[models/props_phx/torpedo.mdl]])
AddBannedProp([[models/props_phx/mk-82.mdl]])
AddBannedProp([[models/props_phx/oildrum001_explosive.mdl]])
AddBannedProp([[models/props_phx/cannonball.mdl]])
AddBannedProp([[models/props_phx/ball.mdl]])
AddBannedProp([[models/props_phx/amraam.mdl]])
AddBannedProp([[models/props_junk/propane_tank001a.mdl]])
AddBannedProp([[models/props_junk/gascan001a.mdl]])
AddBannedProp([[models/props_phx/misc/flakshell_big.mdl]])
AddBannedProp([[models/props_phx/huge/tower.mdl]])

function BannedPropsFunc(ply, model)
	for k, v in pairs(BannedProps) do
		if(string.lower(v) == string.lower(model)) then 
			Notify(ply, 4, 3, "Banned prop!")
			return false 
		end
	end
end
hook.Add("PlayerSpawnProp", "BannedProps", BannedPropsFunc)